package com.example.maax.vo;

import com.example.maax.entity.User;
import lombok.Data;

@Data
public class UserReqVO {

    private String code;
    private String remark;

    public static User convert(UserReqVO item) {
        if (item == null) {
            return null;
        }
        User result = new User();
        result.setCode(item.getCode());
        result.setRemark(item.getRemark());
        return result;
    }
}
